
@mixin text-ellipsis {
	  overflow: hidden;
	  text-overflow: ellipsis;
	  white-space: nowrap;
	}
.page-container {
  background-color: #f5f5f5;
  padding-bottom: 100rpx;
  margin: 0 auto;
  width: 750rpx;
  height: 100%;
  overflow: auto;
  box-sizing: border-box;
}

/* 导航栏样式 */
.nav-bar {
  height: 88rpx;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32rpx;
  
  .iconfont {
    font-size: 40rpx;
    color: #333;
  }
  
  .title {
    font-size: 36rpx;
    font-weight: bold;
  }
}

/* 轮播图样式 */
.banner-swiper {
  height: 320rpx;
  margin-top: 20rpx;
  
  .banner-image {
    width: 100%;
    height: 100%;
    border-radius: 16rpx;
  }
}

/* 推荐歌单区块 */
.song-list-section {
  background: #fff;
  margin-top: 40rpx;
  padding: 32rpx;
  .section-header {
    display: flex;
	flex-direction: row;
    justify-content: space-between;
    margin-bottom: 32rpx;
    
    .section-title {
      font-size: 32rpx;
      font-weight: bold;
    }
    
    .more {
      color: #666;
    }
  }
}

/* 横向滚动MV */


.horizontal-scroll {
  white-space: nowrap;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  .playlist-item {
    display: inline-block;
    width: 240rpx;
    margin-right: 32rpx;
    margin-left: 10rpx;
    .playlist-cover {
      width: 240rpx;
      height: 240rpx;
	    display: flex;
  justify-content: center; /* 水平居中 */
  align-items: center;     /* 垂直居中 */
      border-radius: 16rpx;
    }
    
    .playlist-name {
      display: block;
      font-size: 26rpx;
      margin-top: 16rpx;
      @include text-ellipsis;
    }
    
    .play-count {
      color: #999;
      font-size: 24rpx;
    }
  }
}

/* 底部播放栏 */
.player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150rpx;
  background: rgba(255,255,255,0.95);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  padding: 0 32rpx;
  box-shadow: 0 -2rpx 10rpx rgba(0,0,0,0.05);  
  .song-cover {
    width: 80rpx;
    height: 80rpx;
    border-radius: 8rpx;
  }
  
  .song-info {
    flex: 1;
    margin-left: 24rpx;
    
    .song-title {
      font-size: 28rpx;
      color: #333;
    }
    
    .singer {
      font-size: 24rpx;
	   margin-left: 50rpx;
      color: #999;
    }
  }
  
  .iconfont {
    font-size: 40rpx;
    margin-left: 40rpx;
    color: #d43c33;
  }
}